ScxV6Class.Name Method

Returns the name of the database class.

Example:

The following example written in VB.NET shows the class name of a modbus channel being written to the console.

Dim Svr As ScxV6DbClient.ScxV6Server

Dim Obj As ScxV6DbClient.ScxV6Object

' Connect to the server

Svr = New ScxV6DbClient.ScxV6Server()

Svr.Connect("MAIN", "", "")

' Find a folder on the system

Obj = Svr.FindObject("Modbus Channel")

' Get the class from the object

Dim Cl As ScxV6DbClient.ScxV6Class

Cl = Obj.Class

System.Console.WriteLine(Cl.Name)

' Disconnect

Svr.Disconnect()


Disclaimer

Geo SCADA Expert 2020